package service

import (
	"net/http"

	"github.com/gin-gonic/gin"
)

// GetIndex
// @Tags 首页
// @Success 200 {string} welcome
// @Router /index [get]
func GetIndex(c *gin.Context) {
	c.JSON(http.StatusOK, gin.H{
		"message":         "welcome",
		"host":            "localhost",
		"port":            "8080",
		"Get_request_key": "/ping",
		// "name":            "Lijingwen",
		// "JSON":            "msg1[]",
		// "username":        "root",
		// "password":        "17727096201",
	})
}
